home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!usenet
- From: muaddib@xs4all.nl (thomas)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: opening muimaster.library from another lib
- Date: 8 Jan 1996 17:50:02 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <1508.6581T1129T1450@xs4all.nl>
- References: <621.6574T1181T1758@xs4all.nl> <30e9e646@lls.se> <699.6577T179T1076@xs4all.nl>
- <4cm4ao$1ub@serpens.rhein.de> <882.6580T131T1213@xs4all.nl> <4cp3pt$dce@serpens.rhein.de>
- NNTP-Posting-Host: undiscovered.xs4all.nl
- X-Newsreader: THOR 2.2 (Amiga;TCP/IP) *UNREGISTERED*
-
- Michael van Elst wrote 07-Jan-96 the following:
-
- >>1) Where can I obtain the specification for AmigaOS shared libraries,
- >> I could not find it in the romkernels, autodocs or developer kit.
-
- >Well. I don't think that it is written as such. But if you read
- >the RKRMs you will find a description on how libraries work and what
- >is allowed where. This is authoritative until superceded.
-
- To be honest, I cannot find any documentation on the initcode of a library,
- only that it's there (rkm: libraries page 444).
-
- >>2) Why does the example shared library example in the romkernel open
- >> dos.library in it's init code. It might be always resident for
- >> the current kickstarts, but this could change, and, above all,
- >> why be inconsequent and open the dos.library there and all other
- >> libraries the library needs in libopen. I find this really
- >> the style of a c0d3r, whatever that may be.
-
- >The specification does not forbid opening of libraries. It does forbid
- >to break single-threadedness which is achieved by Forbid(). The example
- >_assumes_ that opening dos.library does not break a Forbid(), that's
- >why it is a bad example. You could also treat it as the statement that
- >opening dos.library will never break Forbid(). In any case this is
- >just guessing on your part. Following the rule is therefore playing on
- >the safe side.
-
- I recall a thread on the fact that libopen is single-threaded and is called in
- Forbidden state, but why can't I find this anywhere in my documentation?
-
- Thomas
-
-